/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.tms.entity.Track;
import com.jeeplus.modules.tms.mapper.TrackMapper;

/**
 * 跟踪Service
 * @author 李超辉
 * @version 2019-06-03
 */
@Service
@Transactional(readOnly = true)
public class TrackService extends CrudService<TrackMapper, Track> {

	public Track get(String id) {
		return super.get(id);
	}
	
	public List<Track> findList(Track track) {
		return super.findList(track);
	}
	
	public Page<Track> findPage(Page<Track> page, Track track) {
		return super.findPage(page, track);
	}
	
	@Transactional(readOnly = false)
	public void save(Track track) {
		super.save(track);
	}
	
	@Transactional(readOnly = false)
	public void delete(Track track) {
		super.delete(track);
	}
	
}